Add support for TCP sockets.
authorJuanma Barranquero <lekktu@gmail.com>
Mon, 30 Oct 2006 23:20:45 +0000 (23:20 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Mon, 30 Oct 2006 23:20:45 +0000 (23:20 +0000)
commitfe3162845d1379450a0e9f415641da4fc26c66a0
tree3bb756994af9d0e05c86115a3ab1256a38c5b27c
parentf89a30e67f962e1b11561600abafa29bf4b2fe13
Add support for TCP sockets.
(server-use-tcp, server-host, server-auth-dir): New options.
(server-auth-key): New variable.
(server-ensure-safe-dir): Create nonexistent parent dirs.  Ignore Unix-style
file modes on Windows.
(server-start): Crete a TCP or Unix socket according to the value of
`server-use-tcp'.  For TCP sockets, create the id/auth file in `server-auth-dir'
directory.
(server-process-filter): Delete process if authentication fails (which never
happens for Unix sockets).
lisp/server.el